﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    /// <summary>
    /// OpenReservation:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class OpenReservation
    {
        public OpenReservation()
        { }
        #region Model
        private int _id;
        private int _openlabid;
        private int _userid;
        private string _used;
        private DateTime _date;
        private int _lesson;
        private bool _confirmed ;
        public Model.Parameter lessonValue { get; set; }
        public Model.Lab labValue { get; set; }
        public Model.Users userValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int OpenLabID
        {
            set { _openlabid = value; }
            get { return _openlabid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int userid
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string used
        {
            set { _used = value; }
            get { return _used; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime date
        {
            set { _date = value; }
            get { return _date; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int lesson
        {
            set { _lesson = value; }
            get { return _lesson; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool confirmed
        {
            set { _confirmed = value; }
            get { return _confirmed; }
        }
        #endregion Model

    }
}
